<template>
  <div class="box">
    <div class="box1" v-for="(v,i) in arr" :key="i">
        <ul>
            <li>
                <img :src="v.titleimg" alt=""><h3>{{v.title}}</h3>
            </li>
            <li>
                <span>{{v.type1}}</span>
                <span>{{v.type2}}</span>
            </li>
            <li><img :src="v.conimg" alt=""></li>
            <li>
                <div class="bot">
                    <ul>
                        <li><img :src="v.iconimg1" alt=""></li>
                        <li>{{v.icon1}}</li>
                    </ul>
                </div>
                <div class="bot">
                    <ul>
                        <li><img :src="v.iconimg2" alt=""></li>
                        <li>{{v.icon2}}</li>
                    </ul>
                </div>
            </li>
        </ul>
    </div>
   
  </div>
</template>

<script>
export default {
    props:{
         arr:Array,
    }
}
</script>

<style scoped>

.box{
    
    width: 3.5rem;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.box1{
    width: 49%;
    border-radius: 0.2rem;
    height: 2rem;
    box-sizing: border-box;
    padding: 0.1rem 0;
    background-color: white;
    margin-bottom: 0.1rem;
}
.box1>ul{
    width: 90%;
    height: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.box1>ul>li:nth-of-type(1){
    width: 100%;
    height: 10%;
    display: flex;
}
.box1>ul>li:nth-of-type(1)>img{
    width: 10%;
    height: 80%;
}
.box1>ul>li:nth-of-type(1)>h3{
    margin-left: 0.1rem;
}
.box1>ul>li:nth-of-type(2){
    width: 100%;
    height: 10%;
    display: flex;
    justify-content: flex-start;
}
.box1>ul>li:nth-of-type(2)>span:nth-of-type(2){
    margin-left: 0.2rem;
}

.box1>ul>li:nth-of-type(3){
    width: 100%;
    height: 50%;
    display: flex;
}
.box1>ul>li:nth-of-type(3)>img{
    width: 100%;
    height: 100%;
}

.box1>ul>li:nth-of-type(4){
    width: 100%;
    height: 30%;
    display: flex;
    margin-top: 0.1rem;
    
}
.bot{
    width: 49%;
    height: 100%;
   
}
.bot>ul>li{
    width: 100%;
    height: 50%;
    text-align: center;
     display: flex;
    flex-direction: column;
    justify-content:space-between;
    align-items: center;
}
.bot>ul>li>img{
    display: block;
    width: 0.4rem;
    height: 0.3rem;
    margin-bottom: 0.1rem;
}

</style>